Integrand size = 37, antiderivative size = 210 \[ \int \frac {(a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx=\frac {5 a^{5/2} C \arcsin \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{d}-\frac {a^3 (64 A+15 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{15 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 (8 A+5 C) \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{5 d \sqrt {\cos (c+d x)}}+\frac {2 a A (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 A (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x)} \]
[Out]
Time = 0.80 (sec) , antiderivative size = 210, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.135, Rules used = {3123, 3054, 3060, 2853, 222} \[ \int \frac {(a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx=\frac {5 a^{5/2} C \arcsin \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a \cos (c+d x)+a}}\right )}{d}-\frac {a^3 (64 A+15 C) \sin (c+d x) \sqrt {\cos (c+d x)}}{15 d \sqrt {a \cos (c+d x)+a}}+\frac {2 a^2 (8 A+5 C) \sin (c+d x) \sqrt {a \cos (c+d x)+a}}{5 d \sqrt {\cos (c+d x)}}+\frac {2 a A \sin (c+d x) (a \cos (c+d x)+a)^{3/2}}{3 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 A \sin (c+d x) (a \cos (c+d x)+a)^{5/2}}{5 d \cos ^{\frac {5}{2}}(c+d x)} \]
[In]
[Out]
Rule 222
Rule 2853
Rule 3054
Rule 3060
Rule 3123
Rubi steps \begin{align*} \text {integral}& = \frac {2 A (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {2 \int \frac {(a+a \cos (c+d x))^{5/2} \left (\frac {5 a A}{2}-\frac {1}{2} a (2 A-5 C) \cos (c+d x)\right )}{\cos ^{\frac {5}{2}}(c+d x)} \, dx}{5 a} \\ & = \frac {2 a A (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 A (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {4 \int \frac {(a+a \cos (c+d x))^{3/2} \left (\frac {3}{4} a^2 (8 A+5 C)-\frac {1}{4} a^2 (16 A-15 C) \cos (c+d x)\right )}{\cos ^{\frac {3}{2}}(c+d x)} \, dx}{15 a} \\ & = \frac {2 a^2 (8 A+5 C) \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{5 d \sqrt {\cos (c+d x)}}+\frac {2 a A (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 A (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {8 \int \frac {\sqrt {a+a \cos (c+d x)} \left (\frac {1}{8} a^3 (32 A+45 C)-\frac {1}{8} a^3 (64 A+15 C) \cos (c+d x)\right )}{\sqrt {\cos (c+d x)}} \, dx}{15 a} \\ & = -\frac {a^3 (64 A+15 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{15 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 (8 A+5 C) \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{5 d \sqrt {\cos (c+d x)}}+\frac {2 a A (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 A (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x)}+\frac {1}{2} \left (5 a^2 C\right ) \int \frac {\sqrt {a+a \cos (c+d x)}}{\sqrt {\cos (c+d x)}} \, dx \\ & = -\frac {a^3 (64 A+15 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{15 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 (8 A+5 C) \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{5 d \sqrt {\cos (c+d x)}}+\frac {2 a A (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 A (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x)}-\frac {\left (5 a^2 C\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-\frac {x^2}{a}}} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{d} \\ & = \frac {5 a^{5/2} C \arcsin \left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{d}-\frac {a^3 (64 A+15 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{15 d \sqrt {a+a \cos (c+d x)}}+\frac {2 a^2 (8 A+5 C) \sqrt {a+a \cos (c+d x)} \sin (c+d x)}{5 d \sqrt {\cos (c+d x)}}+\frac {2 a A (a+a \cos (c+d x))^{3/2} \sin (c+d x)}{3 d \cos ^{\frac {3}{2}}(c+d x)}+\frac {2 A (a+a \cos (c+d x))^{5/2} \sin (c+d x)}{5 d \cos ^{\frac {5}{2}}(c+d x)} \\ \end{align*}
Time = 1.00 (sec) , antiderivative size = 141, normalized size of antiderivative = 0.67 \[ \int \frac {(a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx=\frac {a^2 \sqrt {a (1+\cos (c+d x))} \sec \left (\frac {1}{2} (c+d x)\right ) \left (300 \sqrt {2} C \arcsin \left (\sqrt {2} \sin \left (\frac {1}{2} (c+d x)\right )\right ) \cos ^{\frac {5}{2}}(c+d x)+2 (196 A+60 C+(112 A+45 C) \cos (c+d x)+4 (43 A+15 C) \cos (2 (c+d x))+15 C \cos (3 (c+d x))) \sin \left (\frac {1}{2} (c+d x)\right )\right )}{120 d \cos ^{\frac {5}{2}}(c+d x)} \]
[In]
[Out]
Time = 30.21 (sec) , antiderivative size = 229, normalized size of antiderivative = 1.09
method | result | size |
parts | \(\frac {2 A \sin \left (d x +c \right ) \left (43 \left (\cos ^{2}\left (d x +c \right )\right )+14 \cos \left (d x +c \right )+3\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, a^{2}}{15 d \left (1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right )^{\frac {5}{2}}}+\frac {C \left (5 \cos \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )+\cos \left (d x +c \right ) \sin \left (d x +c \right )+5 \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )+2 \sin \left (d x +c \right )\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}\, a^{2}}{d \left (1+\cos \left (d x +c \right )\right ) \sqrt {\cos \left (d x +c \right )}}\) | \(229\) |
default | \(\frac {a^{2} \left (15 C \left (\cos ^{3}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+86 A \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+75 C \left (\cos ^{3}\left (d x +c \right )\right ) \arctan \left (\tan \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\right )+30 C \left (\cos ^{2}\left (d x +c \right )\right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+28 A \cos \left (d x +c \right ) \sin \left (d x +c \right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}+6 A \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \sin \left (d x +c \right )\right ) \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{15 d \left (1+\cos \left (d x +c \right )\right ) \sqrt {\frac {\cos \left (d x +c \right )}{1+\cos \left (d x +c \right )}}\, \cos \left (d x +c \right )^{\frac {5}{2}}}\) | \(267\) |
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 171, normalized size of antiderivative = 0.81 \[ \int \frac {(a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx=\frac {{\left (15 \, C a^{2} \cos \left (d x + c\right )^{3} + 2 \, {\left (43 \, A + 15 \, C\right )} a^{2} \cos \left (d x + c\right )^{2} + 28 \, A a^{2} \cos \left (d x + c\right ) + 6 \, A a^{2}\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right ) - 75 \, {\left (C a^{2} \cos \left (d x + c\right )^{4} + C a^{2} \cos \left (d x + c\right )^{3}\right )} \sqrt {a} \arctan \left (\frac {\sqrt {a \cos \left (d x + c\right ) + a} \sqrt {\cos \left (d x + c\right )}}{\sqrt {a} \sin \left (d x + c\right )}\right )}{15 \, {\left (d \cos \left (d x + c\right )^{4} + d \cos \left (d x + c\right )^{3}\right )}} \]
[In]
[Out]
Timed out. \[ \int \frac {(a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 1126 vs. \(2 (180) = 360\).
Time = 0.48 (sec) , antiderivative size = 1126, normalized size of antiderivative = 5.36 \[ \int \frac {(a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {(a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int \frac {(a+a \cos (c+d x))^{5/2} \left (A+C \cos ^2(c+d x)\right )}{\cos ^{\frac {7}{2}}(c+d x)} \, dx=\int \frac {\left (C\,{\cos \left (c+d\,x\right )}^2+A\right )\,{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{5/2}}{{\cos \left (c+d\,x\right )}^{7/2}} \,d x \]
[In]
[Out]